package com.qubuyer.business.mine.activity

import android.os.Bundle
import com.qubuyer.base.activity.HostActivity
import com.qubuyer.business.mine.viewmodel.WalletViewModel
import com.qubuyer.core.app.BaseFragment

/**
 * @author Susong
 * @date 创建时间:2019/4/1
 * @description 我的钱包activity
 * & @version
 */
class MineWalletActivity : HostActivity<WalletViewModel>() {
    override val viewModel: WalletViewModel by injectVMByActivity()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        viewModel.getUserInfo()
        viewModel.getWalletInfo()
    }

    override fun contentFragment(): BaseFragment {
        return MineWalletFragment()
    }
}